package com.tdtxdcxm.mynotepad.record;

import ohos.agp.components.Component;

public class RecordComponentItem {
    public final String[] typename = {"TextField","Image"};
    public Component component;
    public int type = -1;

    public RecordComponentItem(Component component, int type) {
        this.component = component;
        this.type = type;
    }

    public String getName() {

        return "{"+type+":"+typename[type]+"}";
    }
}
